package edu.hhu.innerac.sparkm.entry;

import java.io.Serializable;

public class Rectangle implements Serializable{
	int width;
	int height;
	int area;
	
	public Rectangle(int w,int h){
		this.width = w;
		this.height = h;
	}

	
	public int getWidth() {
		return width;
	}


	public void setWidth(int width) {
		this.width = width;
	}


	public int getHeight() {
		return height;
	}


	public void setHeight(int height) {
		this.height = height;
	}


	public int getArea() {
		return area;
	}


	public void setArea(int area) {
		this.area = area;
	}


	@Override
	public String toString() {
		return "{width:" + width + ", height:" + height + ", area:"
				+ area + "}";
	}
}
